//
//  LLT_QuickTools.h
//  CoderLLT
//
//  Created by 刘晓萌 on 15/12/24.
//  Copyright © 2015年 刘晓萌. All rights reserved.
//

#ifndef LLT_QuickTools_h
#define LLT_QuickTools_h


#endif /* LLT_QuickTools_h */

#pragma mark --- 快捷语法
/**
 * 根据标记获取viewController
 */
#define getVC(identifier) ( [MainStoryBoard instantiateViewControllerWithIdentifier:identifier])
/**
 * 获取屏幕宽高
 */
#define WIDTH  [UIScreen mainScreen].bounds.size.width

#define HEIGHT [UIScreen mainScreen].bounds.size.height
/**
 * MainStoryBoard
 */
#define MainStoryBoard ([UIStoryboard storyboardWithName:@"Main" bundle:nil])

/**
 * DissMiss返回
 */
#define DissMissBack ([self dismissViewControllerAnimated:YES completion:nil])

/**
 * 设置tabBar的背景颜色
 */
#define SetTabBarTintColor (self.tabBarController.tabBar.tintColor = [UIColor colorWithRed:255.0/255.0 green:124.0/255.0 blue:56.0/255.0 alpha:1])

